import React, { FC } from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
export interface IProps extends ICompProps {
    label: string;
    value: string;
}
Lv.defaultProps = {} as Partial<IProps>;
function Lv(props: IProps) {
    const { className, style, label, value } = props;
    const localClassName = useClassName('Lv', className);
    return (
        <RootView className={localClassName} style={style}>
            <View className="label">{label}</View>
            <View className="value">{value}</View>
        </RootView>
    );
}
export default React.memo(Lv as FC<IProps>);
const RootView = styled(View)`
    &.Lv {
        padding-left: 16px;
        .label {
            font-weight: 400;
            color: #808a9d;
            font-size: 28px;
            margin-bottom: 20px;
        }
        .value {
            font-size: 28px;
            font-weight: 600;
            color: #333333;
        }
    }
`;
